package com.enhe.gck.pojo;
 import java.time.LocalDate;
 import java.util.Date;
 import java.lang.String;
 import java.lang.Integer;
 import java.math.BigDecimal;
 import java.lang.Long;
 import java.lang.Float;
 import java.lang.Double;
 import com.kuangkie.carbon.record.Updatable;
 import com.kuangkie.carbon.record.annotation.Attribute;
 import com.kuangkie.carbon.record.annotation.CarbonRecord;
 import com.kuangkie.carbon.record.annotation.RecordCode;
 import com.alibaba.fastjson.annotation.JSONField;
 import com.kuangkie.carbon.uid.model.UidManager;

// 系统单号
@CarbonRecord("hwane18694")
public class SystemNumber implements Updatable{
    @JSONField(name="唯一编码")
    @RecordCode
    private Long id = UidManager.getLongUID();

    // 时间
    @JSONField(name="时间")
    @Attribute("hwan18697")
    private LocalDate date;

    // 总数
    @JSONField(name="总数")
    @Attribute("hwan18698")
    private Integer sum;

    // 类型
    @JSONField(name="类型")
    @Attribute("hwan18699")
    private String type;

    public LocalDate getDate() {
        return date;
    }
    public void setDate(LocalDate date) {
        this.date = date;
    }
    public Integer getSum() { 
        return sum;
    }
    public void setSum(Integer sum) {
        this.sum = sum;
    }
    public Long getId() { 
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getType() { 
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    @Override
    public String getRecordCode() {
        return this.id==null ? null : this.id.toString();
    }
}